﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QuickApp.Core.Models
{
    /// <summary>
    /// 树状结构的对象
    /// </summary>
    public interface ITreeModel
    {
        /// <summary>
        /// 实体Id
        /// </summary>
        string Id { get; set; }

        /// <summary>
        /// 全路径，包含自己节点，用逗号隔开。
        /// </summary>
        string FullPath { get; set; }

        /// <summary>
        /// 父节点的ID
        /// </summary>
        string ParentId { get; set; }
    }
}
